﻿<%@ Page Language="C#" ValidateRequest="false" MasterPageFile="~/Include/Admin.master"
    AutoEventWireup="true" CodeFile="Add.aspx.cs" Inherits="Admin_Client_Add" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <ajaxToolkit:ToolkitScriptManager runat="server" ID="ScriptManager1" EnableScriptGlobalization="true"
        EnableScriptLocalization="true" />
    <div style="text-align: center">
        <table cellspacing="0" cellpadding="0" style="width: 100%; height: 30px; padding-bottom: 5px;
            border: 1px; border-color: #66CCFF;">
            <tr style="background-image: url('/images/管理员页面/title_bg1.jpg'); background-repeat: repeat-x;">
                <td style="font-weight: bold; font-size: large; font-family: 仿宋;">
                    <strong class="style1">用户添加</strong>
                </td>
            </tr>
        </table>
        <asp:Literal ID="litMessage" runat="server"></asp:Literal>
        <asp:ValidationSummary ID="vsWrong" ValidationGroup="Add" DisplayMode="List" ShowSummary="true"
            runat="server" />
        <h4 style="text-align: left">
            <a href="Manage.aspx">返回管理页面</a>
        </h4>
        <table style="width: 100%; margin-bottom: 0px;" class="editTable" cellspacing="1">
            <tr>
                <th class="style3">
                   <span class="red">*</span> 用户名
                </th>
                <td>
                    <asp:TextBox ID="txtUserName" runat="server" Height="22px" Width="200px" MaxLength="50"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="请输入用户名"
                        ControlToValidate="txtUserName" ValidationGroup="Add">*</asp:RequiredFieldValidator>
                </td>
                <th class="style4">
                    <span class="red">*</span>密码
                </th>
                <td class="style5">
                    <asp:TextBox ID="txtPassWord" runat="server" Height="22px" Width="200px" MaxLength="50"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="请输入密码"
                        ControlToValidate="txtPassWord" ValidationGroup="Add">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th class="style3">
                    <span class="red">*</span>邮箱
                </th>
                <td class="style5">
                    <asp:TextBox ID="txtEmail" runat="server" Height="22px" Width="200px" MaxLength="50"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ValidationGroup="Add" runat="server"
                        ErrorMessage="请输入邮箱" ControlToValidate="txtEmail">*</asp:RequiredFieldValidator><asp:RegularExpressionValidator
                            ID="RegularExpressionValidator1" ControlToValidate="txtEmail" runat="server"
                            ValidationGroup="Add" ErrorMessage="请输入正确的邮箱" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator>
                </td>
                <td colspan="2">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <th class="style3">
                    <span class="red">*</span>身份证号码
                </th>
                <td class="style5">
                    <asp:TextBox ID="txtCardNum" runat="server" Height="22px" Width="200px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="请输入身份证号"
                        ControlToValidate="txtCardNum" ValidationGroup="Add">*</asp:RequiredFieldValidator>
                </td>
                <th class="style4">
                    <span class="red">*</span>省
                </th>
                <td>
                    <asp:DropDownList ID="drpSheng" runat="server" Height="22px" Width="100px" OnTextChanged="drpSheng_TextChanged"
                        AutoPostBack="true">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <th class="style3">
                    <span class="red">*</span>市
                </th>
                <td class="style5">
                    <asp:DropDownList ID="drpShi" runat="server" Height="22px" Width="100px" OnTextChanged="drpShi_TextChanged"
                        AutoPostBack="true">
                    </asp:DropDownList>
                </td>
                <th class="style4">
                    <span class="red">*</span>区
                </th>
                <td>
                    <asp:DropDownList ID="drpQu" runat="server" Height="22px" Width="100px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <th class="style3">
                    <span class="red">*</span>详细地址
                </th>
                <td class="style5" colspan="3">
                    <asp:TextBox ID="txtAddress" runat="server" Height="22px" Width="700px" MaxLength="100"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="请输入详细地址"
                        ControlToValidate="txtAddress" ValidationGroup="Add">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th class="style3">
                    <span class="red">*</span>出生地址
                </th>
                <td class="style5" colspan="3">
                    <asp:TextBox ID="txtBirthAddress" runat="server" Height="22px" Width="700px" MaxLength="100"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ErrorMessage="请输入出生地址"
                        ControlToValidate="txtBirthAddress" ValidationGroup="Add">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th class="style3">
                    <span class="red">*</span>联系电话
                </th>
                <td class="style5">
                    <asp:TextBox ID="txtTelephone" runat="server" Height="22px" Width="200px" MaxLength="20"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ErrorMessage="请输入联系电话"
                        ControlToValidate="txtTelephone" ValidationGroup="Add">*</asp:RequiredFieldValidator>
                    <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server"
                        TargetControlID="txtTelephone" FilterType="Custom,Numbers" ValidChars="-" />
                </td>
                <th class="style4">
                    <span class="red">*</span>类别
                </th>
                <td>
                    <asp:DropDownList ID="drpType" runat="server" Height="22px" Width="100px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <th class="style3">
                    头像
                </th>
                <td class="style5">
                    <asp:FileUpload ID="fuTouXiang" runat="server" />
                </td>
                <th class="style4">
                    实名认证
                </th>
                <td>
                    <asp:DropDownList ID="drpSMRZ" runat="server" Height="22px" Width="100px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <th class="style3">
                    手机认证
                </th>
                <td class="style5">
                    <asp:DropDownList ID="drpSJRZ" runat="server" Height="22px" Width="100px">
                    </asp:DropDownList>
                </td>
                <th class="style4">
                    邮箱认证
                </th>
                <td>
                    <asp:DropDownList ID="drpYXRZ" runat="server" Height="22px" Width="100px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <th class="style1">
                    服务态度
                </th>
                <td class="style1">
                    <asp:TextBox ID="txtFWTD" runat="server" Height="22px" Width="200px"></asp:TextBox>
                    <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender3" runat="server"
                        TargetControlID="txtFWTD" FilterType="Numbers" />
                </td>
                <th class="style1">
                    工作速度
                </th>
                <td class="style1">
                    <asp:TextBox ID="txtGZSD" runat="server" Height="22px" Width="200px"></asp:TextBox>
                    <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender4" runat="server"
                        TargetControlID="txtGZSD" FilterType="Numbers" />
                </td>
            </tr>
            <tr>
                <th>
                    完成质量
                </th>
                <td>
                    <asp:TextBox ID="txtWCZL" runat="server" Height="22px" Width="200px"></asp:TextBox>
                    <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender5" runat="server"
                        TargetControlID="txtWCZL" FilterType="Numbers" />
                </td>
                <th>
                    QQ
                </th>
                <td>
                    <asp:TextBox ID="txtQQ" runat="server" Height="22px" Width="200px"></asp:TextBox>
                    <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender6" runat="server"
                        TargetControlID="txtQQ" FilterType="Numbers" />
                </td>
            </tr>
            <tr>
                <th>
                    简介
                </th>
                <td colspan="3">
                    <asp:TextBox ID="txtJianJie" runat="server" Height="22px" Width="700px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>
                    开户行
                </th>
                <td>
                    银行名称：<asp:TextBox ID="txtBankName" runat="server"></asp:TextBox>&nbsp;银行户名<asp:TextBox
                        ID="txtAccountName" runat="server"></asp:TextBox>
                </td>
                <th>
                    开户账号
                </th>
                <td>
                    <asp:TextBox ID="txtAccountNo" runat="server"></asp:TextBox>
                    <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender2" runat="server"
                        TargetControlID="txtAccountNo" FilterType="Numbers" />
                </td>
            </tr>
            <tr>
                <td colspan="4">
                    <asp:Button ID="btnSubmit" runat="server" ValidationGroup="Add" Text="提交" Height="20px" Width="50px" OnClick="btnSubmit_Click" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
